cmake_minimum_required(VERSION 3.0)

set(CMAKE_CXX_STANDARD 11)

project(PEOJECT_ONE)

include_directories(include)

file(GLOB SERVER ${CMAKE_CURRENT_SOURCE_DIR}/src/server/*.cpp)

file(GLOB CONTROLLER ${CMAKE_CURRENT_SOURCE_DIR}/src/controller/*.cpp)

file(GLOB ENTRY ${CMAKE_CURRENT_SOURCE_DIR}/src/entry/*.cpp)

file(GLOB UTILS ${CMAKE_CURRENT_SOURCE_DIR}/src/utils/*.cpp)

file(GLOB TEMPLATE ${CMAKE_CURRENT_SOURCE_DIR}/src/template/*.cpp)

add_executable(laserTest ./test/LaserTest.cpp ${CONTROLLER} ${ENTRY} ${UTILS} ${TEMPLATE})

# add_executable(mainServer ./src/MainServer.cpp ${SERVER} ${CONTROLLER} ${ENTRY} ${UTILS} ${TEMPLATE})
